Skip to content

Add Test Method Defaulting & Generic Overlay (No Kselftest)#33

Merged
shashim-quic merged 1 commit intoqualcomm-linux:mainfrom
quic-mtharu:main
Feb 3, 2026
Merged

Add Test Method Defaulting & Generic Overlay (No Kselftest)#33
shashim-quic merged 1 commit intoqualcomm-linux:mainfrom
quic-mtharu:main

Conversation

@quic-mtharu
Copy link
Contributor

@quic-mtharu quic-mtharu commented Feb 3, 2026

📌 Summary

This PR introduces two updates:

  1. Environment‑based test method selection
  2. Addition of a generic overlay that excludes kselftest

These changes improve configurability and provide a lightweight overlay option for consumers who do not require kernel selftests.


✅ Changes Included

1. Test Method Defaulting

Added an environment‑driven mechanism to select the test method:

test_method = os.environ.get("TEST_METHOD", "baseline")

Behavior:

  • If TEST_METHOD is defined in the environment → that value is used.
  • If not defined → defaults to "baseline".

This allows flexible test configuration without modifying code.


2. Generic Overlay Without Kselftest

  • Introduced a new overlay variant that excludes kselftest.
  • Intended for targets that require a minimal setup or do not rely on kernel selftests.
  • Reduces unnecessary components for resource‑constrained programs.

🎯 Rationale

  • Provides safer configurability with clean defaults.
  • Reduces image footprint for consumers not using kselftest.

Testing


… overlay w/o kselftest

- Introduce env-based selection of test method:
  test_method = os.environ.get("TEST_METHOD", "baseline")
  (Uses env value when provided; otherwise defaults to "baseline".)
- Add a generic overlay that excludes kselftest

Rationale:
- Enables configurable test runs via environment without changing code paths
- Provides a lean overlay variant for consumers that do not require kselftest

Signed-off-by: Tharun Kumar Merugu <mtharu@qti.qualcomm.com>
@shashim-quic shashim-quic merged commit 184eb09 into qualcomm-linux:main Feb 3, 2026
2 checks passed
ekanshibu added a commit to qualcomm/fastrpc that referenced this pull request Feb 10, 2026
…289)

## Summary

Adopts the **Generic overlay without kselftest** and enables
**environment‑based** test selection in the LAVA job definition
generator. This allows us to drop kselftest and run only the required
tests by setting `TEST_METHOD=generic`.

## Changes

* Switched to using the **Generic overlay (no kselftest)** in the LAVA
job generation flow.

## Rationale

*   Removes unnecessary kselftest dependencies for our targets.
* Provides a lightweight overlay for platforms that do not require
kselftest.
*   Reduces image footprint and simplifies test execution.

## Dependent Changes

*   <qualcomm-linux/job_render#33>

## Testing

Validated using the staging LAVA pipeline run: 

**<https://github.com/qualcomm-linux-stg/fastrpc/actions/runs/21627927984>**

## Notes

* Backward compatible: default behavior remains unchanged if
`TEST_METHOD` is not set.
* Overlay change only removes kselftest; all other components remain
unaffected.

***
ekanshibu added a commit to qualcomm/fastrpc that referenced this pull request Feb 10, 2026
## Summary

Adds full Talos support for the **qcs615‑ride** target. This introduces
the necessary Talos configuration to enable building, packaging, and
testing on the qcs615‑ride platform.

## Changes

*   Added new Talos target configuration for **qcs615‑ride**.
* Enabled correct device tree, firmware paths, DSP binary mapping, and
LAVA job integration for this platform.

## Rationale

*   Provides Talos build and test enablement for the qcs615‑ride target.
* Ensures the platform can be validated consistently through the
existing Talos + LAVA workflow.

## Dependent Changes

<qualcomm-linux/job_render#33>

## Testing

Validated using the **staging LAVA pipeline run**:  
<https://github.com/qualcomm-linux-stg/fastrpc/actions/runs/21627927984>

***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants